<?php

   class Zend_Controller_Action_Helper_FormHelper extends Zend_Controller_Action_Helper_Abstract{

      public function initErrorMsg($data){

         foreach ($data AS $key => $value){

            if(sizeof($data[$key]) == 0){

               $data[$key][0] = "";
               $data[$key][1] = "";
            }

         }

         return  $data;

      }

   }
